package com.usian.model.admin.dtos;

import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
public class AdUserLoginDto {

    /**
     * 用户名
     */
    @NotBlank(message = "用户名不能为空")
    private String name;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    //@Length(min = 4,max = 32,message = "密码长度必须是4到32位")
    private String password;
}
